package com.woniu.cms.goods.core.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ToString
@ApiModel(value = "退料材料Vo对象")
public class PaybackVo implements Serializable {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("回缴单编号")
    private String paybackCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("回缴日期")
    private Date paybackDate;

    @ApiModelProperty("劳务队")
    private String constructTeam;

    @ApiModelProperty("工程名称（根据编码生成）")
    private String projectName;

    @ApiModelProperty("工程编码（从公司工程库内拉取）")
    private String projectCode;

    @ApiModelProperty("物资编号")
    private String goodsCode;

    @ApiModelProperty("物资名称")
    private String goodsName;

    @ApiModelProperty("规格型号")
    private String modelName;

    @ApiModelProperty("单位")
    private String paybackUnit;

    @ApiModelProperty("单价")
    private BigDecimal paybackPrice;

    @ApiModelProperty("回缴数量")
    private BigDecimal paybackNum;

    @ApiModelProperty("回缴金额")
    private BigDecimal paybackMoney;

    @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
    private Integer status;

}
